﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InnovTech.Util.Printer
{
    public class PrinterNameNotUniqueException : PrinterException
    {
        public PrinterNameNotUniqueException(string printerName) : base(printerName) { }

        protected override string GetExceptionMessage(string printerName)
        {
            return "There is more than one printer which has or contains the given name: " + PrinterName;
        }
    }
}
